package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 文章
 */
@Data
@TableName(value = "hm_articles")
public class Articles implements Serializable {
    private Integer id;//编号
    private String title;//标题
    @TableField(value = "articleBody")
    private String articleBody;//文章正文
    @TableField(value = "videoURL")
    private String videoURL;//视频地址
    private Integer visits;//阅读数
    private Integer state;//状态
    @TableField(value = "createTime")
    private LocalDateTime createTime;//创建时间
    @TableField(value = "creatorID")
    private Integer creatorID;//录入人
}
